package com.momo.gateway.feign;

import com.momo.gateway.common.JSONResult;
import com.momo.gateway.entity.RedisUser;
import lombok.extern.slf4j.Slf4j;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.scheduling.annotation.Async;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * Created by Kagome on 2019/4/24.
 */
@FeignClient(name = "system-core")
public interface TebsiteVisitFeign {
    @PostMapping("/platform/website/visitPeopleToRedis/v1")
    public JSONResult visitPeopleToRedis(RedisUser redisUser);
}
